package com.woniuxy.caradmin.entity.pojo;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import org.springframework.format.annotation.DateTimeFormat;

import java.io.Serializable;
import java.time.LocalDateTime;
import java.util.Date;
import java.util.List;

/**
 * <p>
 * 
 * </p>
 *
 * @author womenzu
 * @since 2020-12-07
 */
@Data
@AllArgsConstructor
@NoArgsConstructor
@ApiModel(value ="outrecord",description = "出行记录表")
public class Outrecord implements Serializable {
    @ApiModelProperty(value = "[自动增长]主键")
    private Integer id;
    @ApiModelProperty(value = "车辆id")
    private Integer vid;
    @ApiModelProperty(value = "部门id")
    private Integer did;
    @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    @ApiModelProperty(value = "出行时间")
    private String outtime;
    @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    @ApiModelProperty(value = "预计回车时间")
    private String predicttime;
    @ApiModelProperty(value = "随行人员")
    private String otherpeople;
    @ApiModelProperty(value = "司机id")
    private Integer driverid;
    @ApiModelProperty(value = "目的地")
    private String destination;
    @ApiModelProperty(value = "行程")
    private String trip;
    @ApiModelProperty(value = "创建人")
    private String createpeople;
    @ApiModelProperty(value = "外出原因")
    private String outwhy;
    @ApiModelProperty(value = "状态为1时表示未过时，状态为2时表示已经过时")
    private Integer available;
    @ApiModelProperty(value = "备注信息")
    private String information;
    @ApiModelProperty(value = "目的地")

    private Integer available;

    private String position;
    @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    @ApiModelProperty(value = "返回时间")
    private String returntime;
    @ApiModelProperty(value = "部门")
    private  Dept dept;
    @ApiModelProperty(value = "司机")
    private Driver driver;
    @ApiModelProperty(value = "汽车档案")
    private Vehiclefiles vehiclefiles;


}
